package chai.ning.inner;

import chai.ning.inner.Human.Brain;
import chai.ning.inner.Human.Heart;

public class HumanTest1 {

	public static void main(String[] args) {
		
		Class<?> c = Brain.class.getEnclosingClass();
		System.out.println( c );
		
		Brain b = new Brain();
		System.out.println( b.name );
		
		Human human = new Human();
		Heart h = human.new Heart();
		System.out.println( h.name );
	}
	
}
